package com.FengChaoSystem.service;

import com.FengChaoSystem.pojo.Occupy;
import com.FengChaoSystem.pojo.Order;
import com.FengChaoSystem.pojo.PageNeed;
import com.FengChaoSystem.pojo.User;

import java.util.List;

public interface CourierImpl {
    List<Order> selectAllCanSendOrderByCondition(PageNeed pageNeed);
    List<Order>selectAllCanSendOrder();
    List<Order>selectSendingOrderByCondition(PageNeed pageNeed);
    List<Order>selectSendingOrder(User user);
    List<Order>selectAllOrderByCondition(PageNeed pageNeed);
    List<Order>selectAllOrder(User user);
    public void acceptOrder(Order order);
    public List<Occupy>selectAllOccupy1();
    public List<Occupy>selectAllOccupy2();
    public List<Occupy>selectAllOccupy3();
    public void addOccupy(Occupy occupy);
    public Occupy hasGetWord(Occupy occupy);
    public Order hasBeAccept(Order target);

}
